﻿/****************************************
 *  copyright (c) 2008 leo shen
 *  
 *  all rights reserved         
 * 
 *  e-mail : syl.lucky@gmail.com
 * *************************************/

using System;
using System.Collections.Generic;
using System.Text;

namespace DotUpdater.Core.CurrentFilesGeters
{
    /// <summary>
    /// 
    /// </summary>
    public interface ICurrentFilesGeter
    {
        /// <summary>
        /// Asynchronous get a file of current version
        /// </summary>
        /// <param name="fileInfo"></param>
        void GetFileAsyc(App_File fileInfo);
        /// <summary>
        /// 
        /// </summary>
        event System.Net.DownloadProgressChangedEventHandler GetFileProgressChanged;
        /// <summary>
        /// 
        /// </summary>
        event System.Net.DownloadDataCompletedEventHandler GetFileCompleted;
    }
}
